package edu.tec.mty.core.modules;

public class Server {
	
	//            Parameter                        Default value
	public static double AUDIO_CUT_DIST                 = 50.0;
	public static int    AUTO_MODE                      = 0;
	public static double BACK_DASH_RATE                 = 0.6;
	public static int    BACK_PASSES                    = 1;
	public static double BALL_ACCEL_MAX                 = 2.7;
	public static double BALL_DECAY                     = 0.94;
	public static double BALL_RAND                      = 0.05;
	public static double BALL_SIZE                      = 0.085;
	public static double BALL_SPEED_MAX                 = 3.0;
	public static double BALL_STUCK_AREA                = 3.0;
	public static double BALL_WEIGHT                    = 0.2;
	public static int    CATCH_BAN_CYCLE                = 5;
	public static double CATCH_PROBABILITY              = 1.0;
	public static double CATCHABLE_AREA_L               = 1.2;
	public static double CATCHABLE_AREA_W               = 1.0;
	public static double CKICK_MARGIN                   = 1.0;
	public static int    CLANG_ADVICE_WIN               = 1;
	public static int    CLANG_DEFINE_WIN               = 1;
	public static int    CLANG_DEL_WIN                  = 1;
	public static int    CLANG_INFO_WIN                 = 1;
	public static int    CLANG_MESS_DELAY               = 50;
	public static int    CLANG_MESS_PER_CYCLE           = 1;
	public static int    CLANG_META_WIN                 = 1;
	public static int    CLANG_RULE_WIN                 = 1;
	public static int    CLANG_WIN_SIZE                 = 300;
	public static int    COACH                          = 0;
	public static int    COACH_PORT                     = 6001;
	public static int    COACH_W_REFEREE                = 0;
	public static int    CONNECT_WAIT                   = 300;
	public static double CONTROL_RADIUS                 = 2.0;
	public static double DASH_ANGLE_STEP                = 45.0;
	public static double DASH_POWER_RATE                = 0.006;
	public static int    DROP_BALL_TIME                 = 100;
	public static double EFFORT_DEC                     = 0.005;
	public static double EFFORT_DEC_THR                 = 0.3;
	public static double EFFORT_INC                     = 0.01;
	public static double EFFORT_INC_THR                 = 0.6;
	public static double EFFORT_INIT                    = 1.0;
	public static double EFFORT_MIN                     = 0.6;
	public static int    EXTRA_HALF_TIME                = 100;
	public static int    EXTRA_STAMINA                  = 50;
	public static int    FORBID_KICK_OFF_OFFSIDE        = 1;
	public static int    FOUL_CYCLES                    = 5;
	public static double FOUL_DETECT_PROBABILITY        = 0.5;
	public static int    FOUL_EXPONENT                  = 10;
	public static int    FREE_KICK_FAULTS               = 1;
	public static int    FREEFORM_SEND_PERIOD           = 20;
	public static int    FREEFORM_WAIT_PERIOD           = 600;
	public static int    FULLSTATE_L                    = 0;
	public static int    FULLSTATE_R                    = 0;
	public static int    GAME_LOG_COMPRESSION           = 0;
	public static int    GAME_LOG_DATED                 = 1;
	public static String GAME_LOG_DIR                   = "./";
	public static int    GAME_LOG_FIXED                 = 0;
	public static String GAME_LOG_FIXED_NAME            = "rcssserver";
	public static int    GAME_LOG_VERSION               = 5;
	public static int    GAME_LOGGING                   = 1;
	public static int    GAME_OVER_WAIT                 = 100;
	public static double GOAL_WIDTH                     = 14.02;
	public static int    GOALIE_MAX_MOVES               = 2;
	public static int    GOLDEN_GOAL                    = 0;
	public static int    HALF_TIME                      = 300;
	public static int    HEAR_DECAY                     = 1;
	public static int    HEAR_INC                       = 1;
	public static int    HEAR_MAX                       = 1;
	public static int    INERTIA_MOMENT                 = 5;
	public static int    KEEPAWAY                       = 1;
	public static int    KEEPAWAY_LENGTH                = 20;
	public static int    KEEPAWAY_LOG_DATED             = 1;
	public static String KEEPAWAY_LOG_DIR               = "./";
	public static int    KEEPAWAY_LOG_FIXED             = 0;
	public static String KEEPAWAY_LOG_FIXED_NAME        = "rcssserver";
	public static int    KEEPAWAY_LOGGING               = 1;
	public static int    KEEPAWAY_START                 = -1;
	public static int    KEEPAWAY_WIDTH                 = 20;
	public static int    KICK_OFF_WAIT                  = 100;
	public static double KICK_POWER_RATE                = 0.027;
	public static double KICK_RAND                      = 0.1;
	public static double KICK_RAND_FACTOR_L             = 1.0;
	public static double KICK_RAND_FACTOR_R             = 1.0;
	public static double KICKABLE_MARGIN                = 0.7;
	public static String LANDMARK_FILE                  = "~/.rcssserver-landmark.xml";
	public static String LOG_DATE_FORMAT                = "%Y%m%d%H%M-";
	public static int    LOG_TIMES                      = 0;
	public static double MAX_BACK_TACKLE_POWER          = 0.0;
	public static double MAX_DASH_ANGLE                 = 180.0;
	public static double MAX_DASH_POWER                 = 100.0;
	public static int    MAX_GOAL_KICKS                 = 3;
	public static double MAX_TACKLE_POWER               = 100.0;
	public static double MAXMOMENT                      = 180.0;
	public static double MAXNECKANG                     = 90.0;
	public static double MAXNECKMOMENT                  = 180.0;
	public static double MAXPOWER                       = 100.0;
	public static double MIN_DASH_ANGLE                 = -180.0;
	public static double MIN_DASH_POWER                 = -100.0;
	public static double MINMOMENT                      = -180.0;
	public static double MINNECKANG                     = -90.0;
	public static double MINNECKMOMENT                  = -180.0;
	public static double MINPOWER                       = -100.0;
	public static int    NR_EXTRA_HALFS                 = 2;
	public static int    NR_NORMAL_HALFS                = 2;
	public static double OFFSIDE_ACTIVE_AREA_SIZE       = 2.5;
	public static double OFFSIDE_KICK_MARGIN            = 9.15;
	public static int    OLCOACH_PORT                   = 6002;
	public static int    OLD_COACH_HEAR                 = 0;
	public static int    PEN_ALLOW_MULT_KICKS           = 1;
	public static int    PEN_BEFORE_SETUP_WAIT          = 10;
	public static int    PEN_COACH_MOVES_PLAYERS        = 1;
	public static double PEN_DIST_X                     = 42.5;
	public static int    PEN_MAX_EXTRA_KICKS            = 5;
	public static double PEN_MAX_GOALIE_DIST_X          = 14.0;
	public static int    PEN_NR_KICKS                   = 5;
	public static double PEN_RANDOM_WINNER              = 0;
	public static int    PEN_READY_WAIT                 = 10;
	public static int    PEN_SETUP_WAIT                 = 70;
	public static int    PEN_TAKEN_WAIT                 = 150;
	public static int    PENALTY_SHOOT_OUTS             = 1;
	public static double PLAYER_ACCEL_MAX               = 1.0;
	public static double PLAYER_DECAY                   = 0.4;
	public static double PLAYER_RAND                    = 0.1;
	public static double PLAYER_SIZE                    = 0.3;
	public static double PLAYER_SPEED_MAX               = 1.05;
	public static double PLAYER_SPEED_MAX_MIN           = 0.75;
	public static double PLAYER_WEIGHT                  = 60.0;
	public static int    POINT_TO_BAN                   = 5;
	public static int    POINT_TO_DURATION              = 20;
	public static int    PORT                           = 6000;
	public static double PRAND_FACTOR_L                 = 1.0;
	public static double PRAND_FACTOR_R                 = 1.0;
	public static int    PROFILE                        = 0;
	public static int    PROPER_GOAL_KICKS              = 0;
	public static double QUANTIZE_STEP                  = 0.1;
	public static double QUANTIZE_STEP_L                = 0.01;
	public static int    RECORD_MESSAGES                = 0;
	public static double RECOVER_DEC                    = 0.002;
	public static double RECOVER_DEC_THR                = 0.3;
	public static double RECOVER_INIT                   = 1.0;
	public static double RECOVER_MIN                    = 0.5;
	public static int    RECV_STEP                      = 10;
	public static double RED_CARD_PROBABILITY           = 0.0;
	public static int    SAY_COACH_CNT_MAX              = 128;
	public static int    SAY_COACH_MSG_SIZE             = 128;
	public static int    SAY_MSG_SIZE                   = 10; //DAMN =S
	public static int    SEND_COMMS                     = 0;
	public static int    SEND_STEP                      = 150;
	public static int    SEND_VI_STEP                   = 100;
	public static int    SENSE_BODY_STEP                = 100;
	public static double SIDE_DASH_RATE                 = 0.4;
	public static int    SIMULATOR_STEP                 = 100;
	public static double SLOW_DOWN_FACTOR               = 1.0;
	public static double SLOWNESS_ON_TOP_FOR_LEFT_TEAM  = 1.0;
	public static double SLOWNESS_ON_TOP_FOR_RIGHT_TEAM = 1.0;
	public static int    STAMINA_CAPACITY               = 130600;
	public static int    STAMINA_INC_MAX                = 45;
	public static int    STAMINA_MAX                    = 8000;
	public static int    START_GOAL_L                   = 0;
	public static int    START_GOAL_R                   = 0;
	public static double STOPPED_BALL_VEL               = 0.01;
	public static int    SYNCH_MICRO_SLEEP              = 1;
	public static int    SYNCH_MODE                     = 0;
	public static int    SYNCH_OFFSET                   = 60;
	public static int    SYNCH_SEE_OFFSET               = 0;
	public static double TACKLE_BACK_DIST               = 0.0;
	public static int    TACKLE_CYCLES                  = 10;
	public static double TACKLE_DIST                    = 2.0;
	public static int    TACKLE_EXPONENT                = 6;
	public static double TACKLE_POWER_RATE              = 0.027;
	public static double TACKLE_RAND_FACTOR             = 2.0;
	public static double TACKLE_WIDTH                   = 1.25;
	public static double TEAM_ACTUATOR_NOISE            = 0.0;
	public static String TEAM_L_START                   = "";
	public static String TEAM_R_START                   = "";
	public static int    TEXT_LOG_COMPRESSION           = 0;
	public static int    TEXT_LOG_DATED                 = 1;
	public static String TEXT_LOG_DIR                   = "./";
	public static int    TEXT_LOG_FIXED                 = 0;
	public static String TEXT_LOG_FIXED_NAME            = "rcssserver";
	public static int    TEXT_LOGGING                   = 1;
	public static int    USE_OFFSIDE                    = 1;
	public static int    VERBOSE                        = 0;
	public static double VISIBLE_ANGLE                  = 90.0;
	public static double VISIBLE_DISTANCE               = 3.0;
	public static double WIND_ANG                       = 0.0;
	public static double WIND_DIR                       = 0.0;
	public static double WIND_FORCE                     = 0.0;
	public static double WIND_NONE                      = 0.0;
	public static double WIND_RAND                      = 0.0;
	public static double WIND_RANDOM                    = 0.0;
	
	public Server(String serverParams) {
		int index = serverParams.indexOf(' ');
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		String[] tokens = serverParams.substring(1, index).split(" ", 2);
		Server.AUDIO_CUT_DIST = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.AUTO_MODE = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.BACK_DASH_RATE = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.BACK_PASSES = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.BALL_ACCEL_MAX = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.BALL_DECAY = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.BALL_RAND = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.BALL_SIZE = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.BALL_SPEED_MAX = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.BALL_STUCK_AREA = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.BALL_WEIGHT = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CATCH_BAN_CYCLE = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CATCH_PROBABILITY = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CATCHABLE_AREA_L = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CATCHABLE_AREA_W = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CKICK_MARGIN = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CLANG_ADVICE_WIN               = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CLANG_DEFINE_WIN               = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CLANG_DEL_WIN                  = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CLANG_INFO_WIN                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CLANG_MESS_DELAY               = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CLANG_MESS_PER_CYCLE           = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CLANG_META_WIN                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CLANG_RULE_WIN                     = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CLANG_WIN_SIZE                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.COACH                          = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.COACH_PORT                     = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.COACH_W_REFEREE                = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CONNECT_WAIT                   = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.CONTROL_RADIUS                 = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.DASH_ANGLE_STEP                = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.DASH_POWER_RATE                = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.DROP_BALL_TIME                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.EFFORT_DEC                     = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.EFFORT_DEC_THR                 = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.EFFORT_INC                     = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.EFFORT_INC_THR                 = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.EFFORT_INIT                    = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.EFFORT_MIN                     = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.EXTRA_HALF_TIME                = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.EXTRA_STAMINA                  = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.FORBID_KICK_OFF_OFFSIDE        = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.FOUL_CYCLES                    = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.FOUL_DETECT_PROBABILITY        = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.FOUL_EXPONENT                  = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.FREE_KICK_FAULTS               = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.FREEFORM_SEND_PERIOD           = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.FREEFORM_WAIT_PERIOD           = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.FULLSTATE_L                    = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.FULLSTATE_R                    = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.GAME_LOG_COMPRESSION           = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.GAME_LOG_DATED                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.GAME_LOG_DIR                   = tokens[1].substring(1, tokens[1].length() - 1);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.GAME_LOG_FIXED                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.GAME_LOG_FIXED_NAME            = tokens[1].substring(1, tokens[1].length() - 1);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.GAME_LOG_VERSION               = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.GAME_LOGGING                   = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.GAME_OVER_WAIT                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.GOAL_WIDTH                     = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.GOALIE_MAX_MOVES               = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.GOLDEN_GOAL                    = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.HALF_TIME                      = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.HEAR_DECAY                     = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.HEAR_INC                       = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.HEAR_MAX                       = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.INERTIA_MOMENT                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KEEPAWAY                       = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KEEPAWAY_LENGTH                = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KEEPAWAY_LOG_DATED             = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KEEPAWAY_LOG_DIR               = tokens[1].substring(1, tokens[1].length() - 1);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KEEPAWAY_LOG_FIXED             = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KEEPAWAY_LOG_FIXED_NAME        = tokens[1].substring(1, tokens[1].length() - 1);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KEEPAWAY_LOGGING               = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KEEPAWAY_START                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KEEPAWAY_WIDTH                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KICK_OFF_WAIT                  = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KICK_POWER_RATE                = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KICK_RAND                      = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KICK_RAND_FACTOR_L             = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KICK_RAND_FACTOR_R             = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.KICKABLE_MARGIN                = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.LANDMARK_FILE                  = tokens[1].substring(1, tokens[1].length() - 1);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.LOG_DATE_FORMAT                = tokens[1].substring(1, tokens[1].length() - 1);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.LOG_TIMES                      = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MAX_BACK_TACKLE_POWER          = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MAX_DASH_ANGLE                 = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MAX_DASH_POWER                 = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MAX_GOAL_KICKS                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MAX_TACKLE_POWER               = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MAXMOMENT                      = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MAXNECKANG                     = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MAXNECKMOMENT                  = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MAXPOWER                       = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MIN_DASH_ANGLE                 = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MIN_DASH_POWER                 = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MINMOMENT                      = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MINNECKANG                     = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MINNECKMOMENT                  = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.MINPOWER                       = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.NR_EXTRA_HALFS                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.NR_NORMAL_HALFS                = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.OFFSIDE_ACTIVE_AREA_SIZE       = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.OFFSIDE_KICK_MARGIN            = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.OLCOACH_PORT                   = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.OLD_COACH_HEAR = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PEN_ALLOW_MULT_KICKS           = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PEN_BEFORE_SETUP_WAIT          = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PEN_COACH_MOVES_PLAYERS        = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PEN_DIST_X                     = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PEN_MAX_EXTRA_KICKS            = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PEN_MAX_GOALIE_DIST_X          = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PEN_NR_KICKS                   = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PEN_RANDOM_WINNER              = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PEN_READY_WAIT                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PEN_SETUP_WAIT                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PEN_TAKEN_WAIT                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PENALTY_SHOOT_OUTS             = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PLAYER_ACCEL_MAX               = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PLAYER_DECAY                   = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PLAYER_RAND                    = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PLAYER_SIZE                    = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PLAYER_SPEED_MAX               = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PLAYER_SPEED_MAX_MIN           = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PLAYER_WEIGHT                  = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.POINT_TO_BAN                   = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.POINT_TO_DURATION              = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PORT                           = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PRAND_FACTOR_L                 = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PRAND_FACTOR_R                 = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PROFILE                        = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.PROPER_GOAL_KICKS              = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.QUANTIZE_STEP                  = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.QUANTIZE_STEP_L                = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.RECORD_MESSAGES                = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.RECOVER_DEC                    = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.RECOVER_DEC_THR                = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.RECOVER_INIT                   = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.RECOVER_MIN                    = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.RECV_STEP                      = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.RED_CARD_PROBABILITY           = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SAY_COACH_CNT_MAX              = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SAY_COACH_MSG_SIZE             = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SAY_MSG_SIZE                   = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SEND_COMMS                     = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SEND_STEP                      = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SEND_VI_STEP                   = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SENSE_BODY_STEP                = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SIDE_DASH_RATE                 = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SIMULATOR_STEP                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SLOW_DOWN_FACTOR               = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SLOWNESS_ON_TOP_FOR_LEFT_TEAM  = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SLOWNESS_ON_TOP_FOR_RIGHT_TEAM = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.STAMINA_CAPACITY               = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.STAMINA_INC_MAX                = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.STAMINA_MAX                    = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.START_GOAL_L                   = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.START_GOAL_R                   = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.STOPPED_BALL_VEL               = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SYNCH_MICRO_SLEEP              = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SYNCH_MODE                     = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SYNCH_OFFSET                   = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.SYNCH_SEE_OFFSET               = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TACKLE_BACK_DIST               = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TACKLE_CYCLES                  = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TACKLE_DIST                    = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TACKLE_EXPONENT                = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TACKLE_POWER_RATE              = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TACKLE_RAND_FACTOR             = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TACKLE_WIDTH                   = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TEAM_ACTUATOR_NOISE            = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TEAM_L_START                   = tokens[1].substring(1, tokens[1].length() - 1);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TEAM_R_START                   = tokens[1].substring(1, tokens[1].length() - 1);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TEXT_LOG_COMPRESSION           = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TEXT_LOG_DATED                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TEXT_LOG_DIR                   = tokens[1].substring(1, tokens[1].length() - 1);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TEXT_LOG_FIXED                 = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TEXT_LOG_FIXED_NAME            = tokens[1].substring(1, tokens[1].length() - 1);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.TEXT_LOGGING                   = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.USE_OFFSIDE                    = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.VERBOSE                        = Integer.parseInt(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.VISIBLE_ANGLE                  = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.VISIBLE_DISTANCE               = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.WIND_ANG                       = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.WIND_DIR                       = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.WIND_FORCE                     = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.WIND_NONE                      = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.WIND_RAND                      = Double.parseDouble(tokens[1]);
		serverParams = serverParams.substring(index + 1);
		index = serverParams.indexOf(')');
		tokens = serverParams.substring(1, index).split(" ", 2);
		Server.WIND_RANDOM = Double.parseDouble(tokens[1]);
		
	}
	
	//Test
	
	/*public static void main(String[] args) {
		String parameters = "(server_param (audio_cut_dist 50)(auto_mode 0)(back_dash_rate 0.6)(back_passes 1)(ball_accel_max 2.7)(ball_decay 0.94)(ball_rand 0.05)(ball_size 0.085)(ball_speed_max 3)(ball_stuck_area 3)(ball_weight 0.2)(catch_ban_cycle 5)(catch_probability 1)(catchable_area_l 1.2)(catchable_area_w 1)(ckick_margin 1)(clang_advice_win 1)(clang_define_win 1)(clang_del_win 1)(clang_info_win 1)(clang_mess_delay 50)(clang_mess_per_cycle 1)(clang_meta_win 1)(clang_rule_win 1)(clang_win_size 300)(coach 1)(coach_port 6001)(coach_w_referee 0)(connect_wait 300)(control_radius 2)(dash_angle_step 45)(dash_power_rate 0.006)(drop_ball_time 100)(effort_dec 0.005)(effort_dec_thr 0.3)(effort_inc 0.01)(effort_inc_thr 0.6)(effort_init 1)(effort_min 0.6)(extra_half_time 100)(extra_stamina 50)(forbid_kick_off_offside 1)(foul_cycles 5)(foul_detect_probability 0.5)(foul_exponent 10)(free_kick_faults 1)(freeform_send_period 20)(freeform_wait_period 600)(fullstate_l 0)(fullstate_r 0)(game_log_compression 0)(game_log_dated 1)(game_log_dir \"./\")(game_log_fixed 0)(game_log_fixed_name \"rcssserver\")(game_log_version 5)(game_logging 1)(game_over_wait 100)(goal_width 14.02)(goalie_max_moves 2)(golden_goal 0)(half_time 300)(hear_decay 1)(hear_inc 1)(hear_max 1)(inertia_moment 5)(keepaway 0)(keepaway_length 20)(keepaway_log_dated 1)(keepaway_log_dir \"./\")(keepaway_log_fixed 0)(keepaway_log_fixed_name \"rcssserver\")(keepaway_logging 1)(keepaway_start -1)(keepaway_width 20)(kick_off_wait 100)(kick_power_rate 0.027)(kick_rand 0.1)(kick_rand_factor_l 1)(kick_rand_factor_r 1)(kickable_margin 0.7)(landmark_file \"~/.rcssserver-landmark.xml\")(log_date_format \"%Y%m%d%H%M-\")(log_times 0)(max_back_tackle_power 0)(max_dash_angle 180)(max_dash_power 100)(max_goal_kicks 3)(max_tackle_power 100)(maxmoment 180)(maxneckang 90)(maxneckmoment 180)(maxpower 100)(min_dash_angle -180)(min_dash_power -100)(minmoment -180)(minneckang -90)(minneckmoment -180)(minpower -100)(nr_extra_halfs 2)(nr_normal_halfs 2)(offside_active_area_size 2.5)(offside_kick_margin 9.15)(olcoach_port 6002)(old_coach_hear 0)(pen_allow_mult_kicks 1)(pen_before_setup_wait 10)(pen_coach_moves_players 1)(pen_dist_x 42.5)(pen_max_extra_kicks 5)(pen_max_goalie_dist_x 14)(pen_nr_kicks 5)(pen_random_winner 0)(pen_ready_wait 10)(pen_setup_wait 70)(pen_taken_wait 150)(penalty_shoot_outs 1)(player_accel_max 1)(player_decay 0.4)(player_rand 0.1)(player_size 0.3)(player_speed_max 1.05)(player_speed_max_min 0.75)(player_weight 60)(point_to_ban 5)(point_to_duration 20)(port 6000)(prand_factor_l 1)(prand_factor_r 1)(profile 0)(proper_goal_kicks 0)(quantize_step 0.1)(quantize_step_l 0.01)(record_messages 0)(recover_dec 0.002)(recover_dec_thr 0.3)(recover_init 1)(recover_min 0.5)(recv_step 10)(red_card_probability 0)(say_coach_cnt_max 128)(say_coach_msg_size 128)(say_msg_size 10)(send_comms 0)(send_step 150)(send_vi_step 100)(sense_body_step 100)(side_dash_rate 0.4)(simulator_step 100)(slow_down_factor 1)(slowness_on_top_for_left_team 1)(slowness_on_top_for_right_team 1)(stamina_capacity 130600)(stamina_inc_max 45)(stamina_max 8000)(start_goal_l 0)(start_goal_r 0)(stopped_ball_vel 0.01)(synch_micro_sleep 1)(synch_mode 0)(synch_offset 60)(synch_see_offset 0)(tackle_back_dist 0)(tackle_cycles 10)(tackle_dist 2)(tackle_exponent 6)(tackle_power_rate 0.027)(tackle_rand_factor 2)(tackle_width 1.25)(team_actuator_noise 0)(team_l_start \"\")(team_r_start \"\")(text_log_compression 0)(text_log_dated 1)(text_log_dir \"./\")(text_log_fixed 0)(text_log_fixed_name \"rcssserver\")(text_logging 1)(use_offside 1)(verbose 0)(visible_angle 90)(visible_distance 3)(wind_ang 0)(wind_dir 0)(wind_force 0)(wind_none 0)(wind_rand 0)(wind_random 0)) ";
		Server server = new Server(parameters);
		System.out.println(server.AUDIO_CUT_DIST);
		System.out.println(server.AUTO_MODE);
		System.out.println(server.START_GOAL_L);
		System.out.println(server.TEAM_L_START);
		System.out.println(server.VISIBLE_DISTANCE);
	}*/
	
}
